
<?php slot("page", "help"); ?>

<?php
    $faqs = array(
        array(
            "id" => "register",
            "question" => "How do I register for Fydal?",
            "answer" => "Go to the <a href=\"" . url_for("home/register") . "\">registration page</a> to sign up for Fydal for free.",
        ),
        array(
            "id" => "activation",
            "question" => "Why haven't I received my activation code?",
            "answer" => "Please ensure you check your spam folder when checking for your activation email. If you still have not received your activation email,
                        please <a href=\"" . url_for("home/contact") . "\">contact us</a>.",
        ),
        array(
            "id" => "password",
            "question" => "How do I change my password?",
            "answer" => "You can change your password via the account options on the
                        <a href=\"" . url_for("feedback/setup") . "\">setup</a> page.",
        ),
        array(
            "id" => "forgotten-password",
            "question" => "I've forgotten my password. How do I reset it?",
            "answer" => "Simply <a href=\"" . url_for("home/contact") . "\">contact us</a> to get your password reset.",
        ),
        array(
            "id" => "apps",
            "question" => "How do I set up my apps in Fydal?",
            "answer" => "Fydal works by setting up a number of \"sources\" for your feedback. A \"source\" might be App Store reviews, Google Play reviews,
                        or tweets from Twitter. To add a source, go to the <a href=\"" . url_for("feedback/addSource") . "\">add source</a> page.
                        Use the tabs and the search controls provided to determine which feedback you'd like to add. For App Store or Google Play reviews, you can search,
                        find your app from the list and click the \"Add\" button. For Twitter, use the search to test your search terms and when you're happy that the
                        search criteria is correct, click \"Add this search term as a new source\". Once you have added your source, you should see the source appear on the
                        dashboard.",
        ),
        array(
            "id" => "app-no-feedback",
            "question" => "I just added a new source, why can't I see any feedback for it?",
            "answer" => "In order for Fydal to help you manage the feedback from your apps, your source needs to be \"updated\".
                        This is the process of importing all feedback into Fydal's database for easy display, organising & graphing.
                        When you add a source, an update will be automatically requested for your new source.
                        The first update for a source is typically the slowest.
                        Updates can take anywhere between 10 seconds and an hour, depending on the amount of outstanding feedback to import.
                        To see the status of your update at any time, look at the \"Updates\" status bar at the bottom of your screen.
                        This bar will alert you when your update is running and when it is complete.
                        ",
        ),
        array(
            "id" => "sources",
            "question" => "How many sources can I add?",
            "answer" => "Free accounts are allowed a total of 3 sources. If you wish to add more sources, you need to <a href='#' class='upgrade-show-modal'>upgrade</a> your
                         to a <strong>Fydal premium account</strong>.",
        ),
        array(
            "id" => "source-delete",
            "question" => "What happens when I delete a source?",
            "answer" => "When you delete a source, you will no longer have access to view the feedback from that source, nor the tagging information that you have applied
                        to that feedback.",
        ),
        array(
            "id" => "source-delete-recover",
            "question" => "I accidentally deleted a source. How can I get it back?",
            "answer" => "If you need to restore a source (including your tagging information), please <a href=\"" . url_for("home/contact") . "\">contact us</a>.",
        ),
        array(
            "id" => "nickname",
            "question" => "Why should I set a nickname?",
            "answer" => "For feedback from the App Store or Google Play, you may find that your apps have the same title and icons across countries and stores. You can
                        set a nickname for your sources to help you to more quickly identify them when looking at your home page dashboard. You can set up nicknames by
                        clicking the \"More\" button on the dashboard for the relevant source and selecting \"Edit nickname\".",
        ),
        //array(
        //    "id" => "find-application",
        //    "question" => "Why can't I find my application in the search?",
        //    "answer" => "",
        //),
        array(
            "id" => "twitter-search",
            "question" => "How do I add Twitter search terms?",
            "answer" => "To add a source, go to the <a href=\"" . url_for("feedback/addSource") . "\">add source</a> page.
                        Select Twitter from the tabs, then use the search to test your search terms. When you're happy that the
                        search criteria is correct, click \"Add this search term as a new source\". Once you have added your source, you should see the source appear in
                        the list.",
        ),
        array(
            "id" => "update",
            "question" => "How do I check for new feedback for my sources?",
            "answer" => "In order for Fydal to help you manage the feedback from your apps, your sources need to be \"updated\".
                        This is the process of importing all feedback into Fydal's database for easy display, organising & graphing.
                        You can see the progress of updates by clicking the \"More\" button on the dashboard for the relevant source and selecting \"Show update history\".
                        You can request an on-demand update by clicking the \"More\" button on the dashboard for the relevant source and selecting \"Request update\", or otherwise your sources will be regularly updated.
                        Updates can take anywhere between 10 seconds and an hour, depending on the amount of outstanding feedback to import.
                        The first update for a source is typically the slowest.
                        To see the status of your update at any time, look at the \"Updates\" status bar at the bottom of your screen.
                        This bar will alert you when your update is running and when it is complete.
                        ",
        ),
        array(
            "id" => "update-slow",
            "question" => "Why is my update taking so long?",
            "answer" => "The speed of an update depends on the amount of outstanding feedback to import. <strong>Fydal</strong> has to manually look for new feedback
                        for the source and perform import processing, which can be a time consuming process, depending on a number of factors. Because of this, updates
                        can take anywhere between 10 seconds and an hour. The first update for a source is typically the slowest.",
        ),
        array(
            "id" => "tag-why",
            "question" => "Why should I tag my feedback?",
            "answer" => "To get the most of out of your customer feedback, getting analytics around the frequency of feature requests and bug requests is key for delivering
                        rich insights from your user base. Tagging allows you to create an unlimited number of custom tags (on top of the few we've provided to start you off)
                        which can be applied as much or as little as you wish, in any manner you wish. Of course you can then filter by these tags for viewing or graphing in
                        whatever way is useful for your suite of apps. Perhaps you'd like to browse all your comments tagged 'negative', or compare which channel has received the
                        most comments tagged 'positive', or graph the timing of different requests from the App Store tagged with 'feature-requests', or break down all the
                        comments tagged 'technical-issues' from Google Play by device model...the possibilities are endless."
        ),
        array(
            "id" => "tag-how",
            "question" => "How do I tag my feedback?",
            "answer" => "On the <a href=\"" . url_for("feedback/list") . "\">view feedback</a> page, click the \"Edit tags\" button for a particular item of feedback. In the
                        text box that appears, start typing the name of the tag you'd like to add - you can pick one of the auto-complete tagging options, or create a new tag by simply
                        typing the name and hitting Enter. You can delete any tag by hitting the little \"x\" button. To save your tagging changes, simply hit the \"Save\" button.
                        You can then choose to filter the feedback you view by using the Filters on the left of the page.",
        ),
        array(
            "id" => "graphs",
            "question" => "How do I create graphs?",
            "answer" => "On the <a href=\"" . url_for("feedback/list") . "\">view feedback</a> page, choose your filter criteria using the controls on the left. Hit the
                        \"View graph\" button on the right, then select your graph options from the drop-down select boxes.",
        ),
        array(
            "id" => "graphs-download",
            "question" => "How do I download a graph I have created?",
            "answer" => "After creating a graph, use the \"Export\" button in the top right hand corner to export the graph to PNG, JPG, PDF or SVG format.",
        ),
        array(
            "id" => "email-setup",
            "question" => "How do I set up regular update emails?",
            "answer" => "To get sent regular update emails containing all recent feedback, go to the <a href=\"" . url_for("feedback/setup") . "\">setup</a> page and
                        change the email settings to the desired frequency, either daily or weekly.",
        ),
        array(
            "id" => "email-not-received",
            "question" => "I have emails set up. Why aren't I receiving them?",
            "answer" => "Since the email content is based on the content of your users' feedback, Fydal cannot guarantee that emails will not be picked up by overzealous
                        spam filters, for example Gmail. Please ensure that <em>noreply@fydal.com</em> is whitelisted by your email service so that you can receive emails.",
        ),
        array(
            "id" => "export",
            "question" => "How can I export collected feedback?",
            "answer" => "On the <a href=\"" . url_for("feedback/list") . "\">view feedback</a> page, choose your filter criteria using the controls on the left. Hit the
                        \"Export as CSV\" button on the right and the export will start processing. Depending on the filter criteria and the size of the list, this may
                        take up to a few minutes. You cannot export more than 1,000 content items in one file - if you wish to do so, instead try using the filter
                        criteria to chunk up the list. The export will download in comma separator (CSV) format.
                        Please note that exporting is restricted to <strong>Fydal premium account</strong> holders, so you may need to
                        <a href='#' class='upgrade-show-modal'>upgrade</a> your account.",
        ),
        array(
            "id" => "upgrade",
            "question" => "What does a premium account give me?",
            "answer" => "<strong>Fydal premium account</strong> holders enjoy:
                        <ul>
                            <li>Freedom to add up to 30 sources</li>
                            <li>Ability to export feedback to CSV for further processing</li>
                            <li>Priority source updates</li>
                            <li>Priority support</li>
                            <li>First access to new features</li>
                            <li>...plus more!</li>
                        </ul>
                        <p>Enterprise accounts are also available.</p>
                        <p>To unlock the full power of <strong>Fydal</strong>, <a href='#' class='upgrade-show-modal'>upgrade</a> your account now.</p>",
        ),
        array(
            "id" => "upgrade-how",
            "question" => "How do I upgrade my account?",
            "answer" => "<a href='#' class='upgrade-show-modal'>Click here</a> to upgrade your account.",
        ),
        array(
            "id" => "downgrade-how",
            "question" => "How do I cancel my premium membership?",
            "answer" => "To cancel your subscription, go to the <a href=\"" . url_for("feedback/setup") . "\">setup</a> page and click the \"Unsubscribe\" button.
                        Please note that all prepaid monthly fees are non-refundable.
                        ",
        ),
    );
?>

<a name="top"></a>

<h2>FAQs</h2>

<div class="accordion" id="faq-accordion">
    <?php
        $first = true;
        foreach ($faqs as $faq) {
    ?>
            <div class="accordion-group">
                <div class="accordion-heading">
                    <a class="accordion-toggle" data-toggle="collapse" data-parent="#faq-accordion" href="#<?php echo $faq["id"]; ?>"><i class="icon-question-sign icon-white"></i> <?php echo $faq["question"]; ?></a>
                </div>
                <div id="<?php echo $faq["id"]; ?>" class="accordion-body collapse">
                    <div class="accordion-inner">
                        <i class="icon-info-sign icon-white"></i> <?php echo ($faq["answer"] ? $faq["answer"] : "TODO"); ?>
                    </div>
                </div>
            </div>
    <?php
            $first = false;
        }
    ?>
</div>
